package com.tanhua.model.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "voice_User")
public class VoiceUser implements Serializable {

    private ObjectId id;//主键id
    private Integer userId;//用户id
    private ObjectId voiceId;//语音id PBVoice表的主键id

}